package cn.comon.app.scan.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import cn.comon.app.scan.dao.AsEnterpriseipDao;
import cn.comon.app.scan.entity.AsEnterpriseip;
import cn.comon.app.scan.service.AsEnterpriseipService;

/**
 * APP商店接入数据接口鉴权
 * @author xujf
 *
 */
@Service
public class AsEnterpriseipServiceImpl extends BaseServiceImpl<AsEnterpriseip> implements AsEnterpriseipService
{
    
    private AsEnterpriseipDao asEnterpriseipDao;
    
    @Autowired
    public AsEnterpriseipServiceImpl(AsEnterpriseipDao asEnterpriseipDao)
    {
        this.asEnterpriseipDao = asEnterpriseipDao;
        setBaseDao(asEnterpriseipDao);
    }

    public AsEnterpriseip getUserByIPCcount(AsEnterpriseip asEnterpriseip)
    {
        return asEnterpriseipDao.getUserByIPCcount(asEnterpriseip);
    }
}